package com.symone.webcms.service;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.symone.webcms.model.MenuAction;

import java.util.List;

/**
 *   @description : MenuAction 服务接口
 *   ---------------------------------
 * 	 @author Archer Chu
 *   @since 2019-01-02
 */
public interface MenuActionService extends IService<MenuAction> {

        boolean insert(MenuAction menuAction);

        Page<MenuAction> findPage(Page<MenuAction> page, Wrapper<MenuAction> menuAction);

        List<MenuAction> findAll();

        int delete(long id);

        boolean deleteFlagById(long id);

        int clear();

}
